package me.pearjelly.util;

import java.util.Queue;
import java.util.concurrent.LinkedBlockingQueue;

import me.pearjelly.model.Image;

public class ImageQueue {
	private static final Queue<Image> QUEUE = new LinkedBlockingQueue<Image>();

	public synchronized static boolean offer(Image image) {
		return QUEUE.offer(image);
	}

	public synchronized static Image poll() {
		return QUEUE.poll();
	}
}
